package day0303;

public class MyLinkTest {

    public static void main(String[] args) {
        MyLink myLink = new MyLink();

        myLink.add("a");
        myLink.add("b");
        myLink.add("c");
        myLink.add("d");

        System.out.println(myLink.size());
        System.out.println(myLink);

        System.out.println(myLink.remove(1));

        System.out.println(myLink.size());
        System.out.println(myLink);
    }
}
